SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}Karpaz{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}' OR prCity = 'Karpaz' OR prZip = 'Karpaz' OR prStreet LIKE '{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}Karpaz{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}' OR prCountry = 'Karpaz') AND (prLocation LIKE '{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}Cyprus{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}Cyprus{96cb3b9ef525d4ebdc3fda17d05508228dbfbeb30d1d9dbe0dae3ab02ba84fe7}' OR prCountry = 'Cyprus')